Skip to content

Instantly share code, notes, and snippets.

@iconmaster5326
iconmaster5326 / terraria_player.ksy
Last active May 12, 2024 05:11
This is a Kaitai Struct description file for Terraria .plr files. Do note that some things, such as creative powers, are not yet implemented.
meta:
id: terraria_player
file-extension: plr
endian: le
bit-endian: be
imports:
- vlq_base128_le
doc: |
The format for Terraria player files. This format has only been tested on
Terraria 1.4 (version 234). Note that you must decrypt the file first before
@Ryahn
Ryahn / export-named-sheet-as-csv.gs
Last active May 12, 2024 05:11 — forked from mrkrndvs/export-named-sheet-as-csv.gs
Google apps script to export an individual sheet as csv file
/*
* script to export data of the named sheet as an individual csv files
* sheet downloaded to Google Drive and then downloaded as a CSV file
* file named according to the name of the sheet
* original author: Michael Derazon (https://gist.github.com/mderazon/9655893)
*/
var delimiter = ';';
function onOpen() {
public class WhitelistObjectInputFilter implements ObjectInputFilter {
private static Set<String> allowedClasses;
public WhitelistObjectInputFilter(String... classNames) {
allowedClasses = new HashSet<>(Arrays.asList(classNames));
}
@Override
public Status checkInput(FilterInfo filterInfo) {
@guidopola
guidopola / zoho.go
Created September 21, 2018 02:12
Send mail using Zoho.com mail API
// Sample code to send a mail using the Zoho api.
// You can use it for example if the smtp port is blocked on your hosting.
// PUBLIC DOMAIN
package main
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
@KYDronePilot
KYDronePilot / HotCorner.ahk
Last active May 12, 2024 05:02 — forked from dvtate/HotCorner.ahk
Hot Corners for Windows 10 using AutoHotKey
; ## What is it?
;
; An AutoHotKey script that replicates the "Hot Corners" feature of macOS on
; Windows
;
; ## How to use it?
;
; Modify the code in each `if` block (before the sleep command, which prevents
; duplicate triggers) for each corner below so it performs the desired action.
@mathieugalle
mathieugalle / style.css
Created November 5, 2023 15:43
move docsify default sidebar from the left to the right
/*
move docsify default sidebar from the left to the right
*/
@media screen and (max-width: 768px) {
body.close .content {
right: 0;
transform: initial;
}
@abir-taheer
abir-taheer / block-insta-celebs.js
Last active May 12, 2024 04:55
Block celebrities who have been silent or supportive of the genocide in Palestine. No modification necessary, just paste into console and run. Why: https://www.instagram.com/reel/C61oqa_r9-q/
if (window.location.origin !== "https://www.instagram.com") {
window.alert(
"Hey! You need to be on the instagram site before you run the code. I'm taking you there now but you're going to have to run the code into the console again.",
);
window.location.href = "https://www.instagram.com";
console.clear();
}
const usernames = [
"ahlamalshamsi",
@PowderLinux
PowderLinux / WiFi_Auditing_Tutorial.txt
Last active May 12, 2024 04:46
WiFi Auditing on Kali Linux using Aircrack
WiFi Auditing on Kali Linux using Aircrack -
Check WiFi Adapter’s Supported Interface Modes -
Open Terminal >
iw list (locate "Supported interface modes:", look for "* monitor")
exit
@macostag
macostag / powershell-basics.ps1
Last active May 12, 2024 04:39
Windows powershell basics notes
#Powershell basics:
#Displays help information.
Get-Help *event*
Get-Help Get-EventLog
Get-Help Get-EventLog -Online
#Update help.
Update-Help
#Gets all commands that are installed on the computer, including cmdlets, aliases, functions, workflows, filters, scripts, and applications.
@jcmkk3
jcmkk3 / alpha23332.md
Last active May 12, 2024 04:39
23332 Key Alpha Layouts

hands down neu23332

w c l d _   _ u o y '
r s n t p   k a e i h
_ f m g b   j x , . _

hands down neu23332-hindex

w c l d _   _ y o u '